﻿using PagedList;
using System;
using System.Collections.Generic;
using Ymca.Entities;
using Ymca.Web.Models.Blog;

namespace Ymca.Web.Services.Interfaces
{
    public interface IPostsService
    {
        void AddPost(CreatePostViewModel viewModel);
        bool DeletePost(int id);
        Post EditPost(Post post);
		Post GetPost(int id);
        IEnumerable<Post> GetPosts();

		void AddComment(int postId, string userName, string comment);
    }
}